<?

JCAT_Package::ImportClass('JCAT_ViewGtk',JCAT::PACKAGE_MVCGTK) ;

class UIGtkCtrlBaseInfoView extends JCAT_ViewGtk implements JCAT_IViewForm
{
	/**
	 * 控件基本信息
	 * 
	 * @access	public
	 * @param	$aParent=null	JCAT_ViewGtk		拥有此视图的对象
	 * @param	$aUI=null		JCAT_UIGtkGlade		模版引擎
	 * @return	array
	 */
	public function UIGtkCtrlBaseInfoView( JCAT_IViewContainer $aParent, JCAT_UIGtkGlade $aUI=null )
	{
		$this->JCAT_ViewGtk('UIGtkCtrlBaseInfoView','UIGtkCtrlBaseInfoView','BoxUICtrlGtkBaseInfo',$aParent,$aUI) ;
		
		
		// 创建 并 初始化 UICtrl ---------------------------

		$aUICtrl = new JCAT_UIGtkCtrlSText('UICtrlMainWidgetID',JCAT_Language::Sentence('窗体名称'),'EntUICtrlMainWidgetID') ;
		$aUICtrl->AddVerifier(JCAT_Flyweight::GetGlobalInstance('JCAT_UICtrlLengthVerifier',2,-1,false)) ;
		$this->AddUICtrl($aUICtrl) ;

		// 设置数据交换
		$aDataExchanger = $this->GetDataExchanger() ;
		$aDataExchanger->LinkUICtrlToDocumentData('UICtrlMainWidgetID','UICtrlMainWidgetID') ;
	}
}

JCAT_Package::ImportInterface('JCAT_IViewForm',JCAT::PACKAGE_MVC) ;

?>